package com.senven.settled.feign;

import com.senven.common.entity.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Author wt
 * @Date 2022/9/6 20:36
 * @PackageName:com.senven.settled.feign
 * @ClassName: UsersFeign
 * @Description: TODO
 * @Version 1.0
 */
@FeignClient(value = "senven-orderfood-user")
public interface UsersFeign {
    @PostMapping(value = "/user/insertShop")
    public String insertShop(@RequestBody User user);
}
